﻿<!--
Copyright (c) Microsoft Corporation. All rights reserved
-->

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <title></title>
    <script src="/js/scenario1-readdata.js"></script>
</head>

<body class="win-type-body">
    <h2 id="sampleHeader" class="win-type-subheader">Description:</h2>
    <div id="scenarioDescription">
        Read data from I2C device
    </div>
    <p>
        An app can read data from an I2C device.
        To enable this sample, follow this wiring schematic using a SparkFun HTU21D sensor.
        Wiring for both MinnowBoard Max and Raspberry Pi 2 are diagrammed.
    </p>
    <div>
        <img src="ms-appx:///images/i2c_sample_bb.jpg" />
    </div>
    <p>
        <button id="startStopButton" class="win-button">Start</button>
    </p>
    <div id="scenarioControls" style="display: none">
        Current Temperature: <span id="currentTemp"></span><br />
        Current Humidity: <span id="currentHumidity"></span>
    </div>
</body>

</html>